package com.ruoyi.framework.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * CAS 配置参数
 */
@Component
public class CasProperties {

    @Value("${cas.server.baseUrl}")
    private String casServerBaseUrl;

    @Value("${cas.server.loginUrl}")
    private String casServerLoginUrl;

    @Value("${cas.server.logoutUrl}")
    private String casServerLogoutUrl;

    @Value("${cas.client.baseUrl}")
    private String casClientBaseUrl;

    @Value("${cas.client.loginUrl}")
    private String casClientLoginUrl;

    @Value("${cas.client.indexUrl}")
    private String casClientIndexUrl;

    @Value("${cas.client.logoutUrl}")
    private String casClientLogoutUrl;

    public String getCasServerBaseUrl() {
        return casServerBaseUrl;
    }

    public void setCasServerBaseUrl(String casServerBaseUrl) {
        this.casServerBaseUrl = casServerBaseUrl;
    }

    public String getCasServerLoginUrl() {
        return casServerLoginUrl;
    }

    public void setCasServerLoginUrl(String casServerLoginUrl) {
        this.casServerLoginUrl = casServerLoginUrl;
    }

    public String getCasServerLogoutUrl() {
        return casServerLogoutUrl;
    }

    public void setCasServerLogoutUrl(String casServerLogoutUrl) {
        this.casServerLogoutUrl = casServerLogoutUrl;
    }

    public String getCasClientBaseUrl() {
        return casClientBaseUrl;
    }

    public void setCasClientBaseUrl(String casClientBaseUrl) {
        this.casClientBaseUrl = casClientBaseUrl;
    }

    public String getCasClientLoginUrl() {
        return casClientLoginUrl;
    }

    public void setCasClientLoginUrl(String casClientLoginUrl) {
        this.casClientLoginUrl = casClientLoginUrl;
    }

    public String getCasClientIndexUrl() {
        return casClientIndexUrl;
    }

    public void setCasClientIndexUrl(String casClientIndexUrl) {
        this.casClientIndexUrl = casClientIndexUrl;
    }

    public String getCasClientLogoutUrl() {
        return casClientLogoutUrl;
    }

    public void setCasClientLogoutUrl(String casClientLogoutUrl) {
        this.casClientLogoutUrl = casClientLogoutUrl;
    }
}